package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import lombok.Getter;
import lombok.Setter;


/**
 * 基金/股票管理对象 money_fund
 * 
 * @author ruoyi
 * @date 2021-03-14
 */
public class MoneyFund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 基金/股票名字 */
    @Excel(name = "基金/股票名字")
    private String name;

    /** 股票或基金代码 */
    @Excel(name = "股票或基金代码")
    private String code;

    /** 数据获取连接 */
    @Excel(name = "数据获取连接")
    private String dataUrl;


    @Getter
    @Setter
    private String updateDay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }
    public void setDataUrl(String dataUrl) 
    {
        this.dataUrl = dataUrl;
    }

    public String getDataUrl() 
    {
        return dataUrl;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("code", getCode())
            .append("dataUrl", getDataUrl())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
